#include<stdio.h>
int main(){
   double x, y;
    scanf("%lf", &x);
    if(x <= 0)
        y = x + 10;
    else 
        y = x - 10;
    printf("y的值为:%.2lf\n", y);
    return 0;
}